import request from "@/utils/request";

export const getAlermList = (data) => {
    return request({
        url: "/intra/monitor/monitornoticeconfig/list",
        method: "get",
        params: data,
    });
};
export const delAlerm = (data) => {
    return request({
        url: "/intra/monitor/monitornoticeconfig/delete",
        method: "delete",
        data,
    });
};
export const getAlermDetailById = (id) => {
    return request({
        url: `/intra/monitor/monitornoticeconfig/detail/${id}`,
        method: "get",
    });
};
export const saveAlerm = (data) => {
    return request({
        url: `/intra/monitor/monitornoticeconfig/submit`,
        method: "post",
        data,
    });
};